const { generateService } = require('@umijs/openapi')

generateService({
    schemaPath: 'http://petstore.swagger.io/v2/swagger.json',
    serversPath: './servers',
})